package com.luoc.base.enums;

/**
 * @Description: 发送消息的动作 枚举
 */
public enum MsgActionEnum {
    /**
     * websocket 状态码
     */
    CONNECT(1, "第一次(或重连)初始化连接"),
    CHAT(2, "频道聊天消息"),
    CHATTOALL(3, "全频道通知"),
    KEEPALIVE(4, "客户端保持心跳"),
    LOGIN(5, "登陆公会频道"),
    STEALFLOWER(6, "偷花"),
    SENDFLOWER(7, "送花"),
    JOIN(8, "加入公会频道");


    public final Integer type;
    public final String content;

    MsgActionEnum(Integer type, String content) {
        this.type = type;
        this.content = content;
    }

    public Integer getType() {
        return type;
    }
}
